package com.kimehwa.studyboot.bean.mongobean;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

/**
 * @author xiaodongguan
 * @description
 * @since 2021-07-22 17:25
 */
@Document
@Data
public class Role implements Serializable {

    private static final long serialVersionUID = -6843667995895038741L;

    private Long id;

    @Field("role_name")
    private String roleName;

    private String note;


}